package cn.ym.mall.entity;

import java.io.Serializable;

/**
 * @author 漆家乐
 * 区县实体类
 */
public class Area implements Serializable {
    private static final long serialVersionUID=654252435L;
    /**
     * 编号
     */
    private Integer id;
    /**
     * 区县编号
     */
    private Integer arid;
    /**
     * 区县名
     */
    private String arname;
    /**
     * 上级编号
     */
    private Integer father;

    public Area() {
    }

    public Area(Integer id, Integer arid, String arname, Integer father) {
        this.id = id;
        this.arid = arid;
        this.arname = arname;
        this.father = father;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getArid() {
        return arid;
    }

    public void setArid(Integer arid) {
        this.arid = arid;
    }

    public String getArname() {
        return arname;
    }

    public void setArname(String arname) {
        this.arname = arname;
    }

    public Integer getFather() {
        return father;
    }

    public void setFather(Integer father) {
        this.father = father;
    }

    @Override
    public String toString() {
        return "Area{" +
                "id='" + id + '\'' +
                ", arid='" + arid + '\'' +
                ", arname='" + arname + '\'' +
                ", father='" + father + '\'' +
                '}';
    }
}
